using namespace std;
#include "node.h"
#include <iostream>

Node::Node(nodeType type, char token, Node *left, Node *right) {
	this->type = type;
	this->token = token;
	this->left = left;
	this->right = right;
}

Node::Node() {} // default constructor

Node *Node::getRight() {
	return this->right;
}

Node *Node::getLeft() {
	return this->left;
}

char Node::getToken() {
	return this->token;
}
